package org.dialMsg.Topic;

import java.util.EnumMap;

/**
 * @author DPF
 */
public class RocketmqConstant {

    // 定义一个枚举类型
    public enum TopicEnum {
        ROBOT_DIAL_TASK_MSG_TOPIC,
        ROBOT_DIAL_RESULT_MSG_TOPIC,
        MANUAL_DIAL_RESULT_MSG_TOPIC,
        HNBOC_SEAT_TASK_ASSIGN_LOG_TOPIC;

    }

    public static EnumMap<TopicEnum, String> MyTopic() {
        EnumMap<TopicEnum, String> eMap = new EnumMap<TopicEnum, String>(TopicEnum.class);
        eMap.put(TopicEnum.ROBOT_DIAL_TASK_MSG_TOPIC, "robotDialTaskMsgTopic");
        eMap.put(TopicEnum.ROBOT_DIAL_RESULT_MSG_TOPIC, "robotDialResultMsgTopic");
        eMap.put(TopicEnum.MANUAL_DIAL_RESULT_MSG_TOPIC, "manualDialResultTopic");
        eMap.put(TopicEnum.HNBOC_SEAT_TASK_ASSIGN_LOG_TOPIC, "hnbocSeatTaskAssignLogTopic");
        return eMap;
    }
}
